81a8af5c8eabf9840a1ad0d64fe476b953ffab50,ij/gui/Roi.java,Roi,getFloatPolygon,#,401

Before Change


		if (cornerDiameter>0) {
			ImageProcessor ip = getMask();
			Roi roi2 = (new ThresholdToSelection()).convert(ip);
			roi2.setLocation(x, y);
			return roi2.getFloatPolygon();
		}
		if (subPixelResolution() && bounds!=null) {

After Change


		if (cornerDiameter>0) {
			ImageProcessor ip = getMask();
			Roi roi2 = (new ThresholdToSelection()).convert(ip);
			if (roi2!=null) {
				roi2.setLocation(x, y);
				return roi2.getFloatPolygon();
			}
		}